"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = Example1;

var _design = require("@discuzq/design");

var _react = _interopRequireDefault(require("react"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function Example1() {
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_design.Button, {
    type: "primary",
    onClick: function onClick() {
      return _design.Toast.info({
        content: "这是一条信息提示",
        hasMask: true
      });
    }
  }, "\u6709\u906E\u7F69\u5C42"), /*#__PURE__*/_react.default.createElement(_design.Button, {
    type: "primary",
    onClick: function onClick() {
      return _design.Toast.success({
        content: "这是一条成功提示",
        hasMask: false
      });
    }
  }, "\u65E0\u906E\u7F69\u5C42"));
}